<!DOCTYPE html>
<?php 
include_once '../check1.php';
?>
<html>
<head>
<meta charset="utf-8" />
<title><?=gv($info_copy,"title");?></title>
<link href="images/index_style.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="/static/css/backend.css?0829" />
<script src="http://libs.baidu.com/jquery/1.8.3/jquery.min.js"></script></head>
<body>
<!--head-->
<div class="head">
	<div class="head_con">
          <span class="logo">
            <a href="#"><img src="images/logo.jpg" height="67" width="389"> </a>
          </span>
          <span class="title">
            <img src="images/title.jpg" height="78" width="215"> 
          </span>
     </div>
     <div class="head_bottom_bg"></div>
</div>
<div class="main">
     <div class="left">
          <div class="left_t">
               <img src="images/left_img.png"><br>
               <a href="/user/main.php">用户中心首页</a>
          </div>
          <ul>
             <li>
                <a href="/user/item.php" class="cpjwa1">
                 产品及文案
                </a>
             </li>
             <li>
                <a href="/user/order.php" class="cpjwa2">
                 订单与结算
                </a>
             </li>
             <li>
                <a href="/user/invite.php" class="cpjwa3">
                 邀请与奖励
                </a>
             </li>
             <li>
                <a href="/user/channelList.php" class="cpjwa4_select">
                 我的公众账号
                </a>
             </li>
             <li>
                <a href="/user/user_detail.php" class="cpjwa5">
                 我的信息
                </a>
             </li>
             <li>
                <a href="/user/terms.php" class="cpjwa7">
                 服务条款
                </a>
             </li>
              <li>
                <a href="../control.php?oper=loginout" class="cpjwa6">
                 退出登录
                </a>
             </li>
          </ul>
     </div>
     <div class="right ming_right">
          <div class="ddyjs_con">
            <a href="/user/channelList.php" class="a_pitch">我的公众号</a>
            <a href="/user/channel.php">公众号统计</a>
       	  </div>
 		  <div class="right_con">
              我的公众号
          </div>
          <div class="right_con1">
              <a href="/user/main.php">返回用户首页</a>   <a class="right_con1_b" href="/user/addChannel.php">添加公众号</a>
          </div>
          
          <div class="right_con2 mtop5 mbot0 borno">
               <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr bgcolor="#f2f2f2" class="right_con2_top colheis">
                <td width="100" height="43" class="youxia" >ID</td>
                <td width="200'" class="youxia">公众号 </td>
                <td width="280" class="youxia">类型 </td>
                <td width="98" class="youxia">人数</td>
              <td width="298" class="youxia">说明</td>
              <td width="98" class="youxia">操作</td>
              </tr>
               	<?php 
					$res=sql("s", "channel", "*", "where user='".$user."'");
					if ($res) {
					$k=1;
						foreach ($res as $info){
					if($k%2==1){
					$col="#FFFFFF";
					}else{
					$col="#FFFFCC";
					}
					$k++;
					echo '<tr  bgcolor="'.$col.'"><td class="youxia">'.gv($info,'id').'</td><td class="youxia">'.gv($info,'name').'</td><td class="youxia">'.gv($info,'leixing').'</td><td class="youxia">'.gv($info,'num').'</td><td class="youxia">'.gv($info,'shuoming').'</td><td class="youxia"><a href="../control.php?oper=channeldel&id='.gv($info,'id').'">删除</a></td></tr>';
						}
					}
				?>
               
           	   </table>
		  </div>
       
     </div>
     <div class="clear"></div>
</div>
   
<!--foot-->
<?php include("../footer.html"); ?> 
<!--在线客服-->
<div class="fixedBox">
  <UL class="fixedBoxList">
    <LI style="display: block;" id="cartboxs" class="fixeBoxLi cart_bd">
      <P class="good_cart">0</P>
      <span class="fixeBoxSpan"></span> <strong>投诉意见</strong>
      <div class="cartBox">
        <div class="bjfff"></div>
        <div class="contactManager_box contactManager" id="cm_more">
  <!--[if IE 6]>
  <iframe src="about:blank" frameborder="0"></iframe>
  <![endif]-->
  <table>
    <tr class="contactManager_title">
      <td>
        <img src="../tp/3/images/icon_manager.jpg" alt="微分销" />
        <span>微分销</span>
      </td>
    </tr>

      <tr>
          <td>
             <a href="http://wpa.qq.com/msgrd?v=3&uin=<?=gv($home,"qq")?>&site=qq&menu=yes" target="_blank" alt="点击这里给我发消息" title="点击这里给我发消息">
          <img src="../tp/3/images/icon_qq.jpg" alt="QQ" />
          <span><?=gv($home,"qq")?></span>
        </a>
          </td>
      </tr>
    <tr>
      <td>
        <img src="../tp/3/images/icon_mobile.jpg" alt="手机号码" />
        <span><?=gv($home,"tel")?></span>
      </td>
    </tr>
    
    <tr>
      <td>
      <a title="交流群" >
        <img src="../tp/3/images/icon_qq.jpg" alt="群" />
        <span>QQ群：<?=gv($home,"qun")?></span>
      </a>
      </td>
    </tr>
  </table>

        </div>
      </div>
    </LI>
    <LI class="fixeBoxLi Home"> <A href="../index.html"> <span class="fixeBoxSpan"></span> <strong>返回首页</strong> </A> </LI>
    <LI class="fixeBoxLi BackToTop"> <span class="fixeBoxSpan"></span> <strong>返回顶部</strong> </LI>
  </UL>
</div>

<div style="display:none;">
			<!--放置客服代码-->
</div>

<script src="images/lanrenzhijia.js"></script>
<script src="/static/js/j.js?0829"></script>
</body>
</html>